﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using bdxyit.com.RecruitmentAppSys.IDAL;
using bdxyit.com.RecruitmentAppSys.DALFactory;
using bdxyit.com.RecruitmentAppSys.Models;
using bdxyit.com.RecruitmentAppSys.ViewModels;

namespace bdxyit.com.RecruitmentAppSys.BLL
{
    class UniversityListBLL
    {
        private static readonly IUniversityListDAL UniversityListDal = DataAccess.CreateUniversityList();
        public static List<UniversityList> SelectUniversityList()
        {
            return UniversityListDal.SelectUniversityList();
        }
      
        public static bool DeleteUniversityListByUserId(string UniversityID)
        {
            return UniversityListDal.DeleteUniversityListBYUniversityID(UniversityID);
        }
        public static bool InsertUniversityList(UniversityList cmodel)
        {
            return UniversityListDal.InsertUniversityList(cmodel);
        }
        public static bool UpdateUniversityList(UniversityList cmodel)
        {
            return UniversityListDal.UpdateUniversityListBYUniversityID(cmodel);
        }

    }
}
